package com.blb.mybatis.mapper;

import com.blb.mybatis.dto.LogisticsSearch;
import com.blb.mybatis.entity.Logistics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LogisticsMapper {

    List<Logistics> selectAll();

    void delLogistics(@Param("id") Long id);

    void addLogistics(Logistics logistics);

    void updateLogistics(Logistics logistics);

    List<LogisticsSearch> selectAllLogistics();

}
